package com.epalmpay.service.datareport.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.epalmpay.dto.datareport.WalletDataReportInDTO;
import com.epalmpay.entity.GroupAccountLogDaySum;
import com.epalmpay.entity.GroupAccountLogMonthSum;
import com.epalmpay.entity.StatisAgentDay;
import com.epalmpay.entity.StatisAgentMonth;
import com.epalmpay.entity.StatisMemberDay;
import com.epalmpay.entity.StatisMemberMonth;
import com.epalmpay.entity.StatisShopDay;
import com.epalmpay.entity.StatisShopMonth;
import com.epalmpay.mapper.GroupAccountLogDaySumMapper;
import com.epalmpay.mapper.GroupAccountLogMonthSumMapper;
import com.epalmpay.mapper.StatisAgentDayMapper;
import com.epalmpay.mapper.StatisAgentMonthMapper;
import com.epalmpay.mapper.StatisMemberDayMapper;
import com.epalmpay.mapper.StatisMemberMonthMapper;
import com.epalmpay.mapper.StatisShopDayMapper;
import com.epalmpay.mapper.StatisShopMonthMapper;
import com.epalmpay.service.datareport.IWalletDataReportService;

@Service("walletDataReportService")
public class WalletDataReportServiceImpl implements IWalletDataReportService{
	
	@Resource
	private StatisMemberDayMapper statisMemberDayMapper;
	
	@Resource
	private StatisShopDayMapper statisShopDayMapper;
	
	@Resource
	private StatisAgentDayMapper statisAgentDayMapper;
	
	@Resource
	private GroupAccountLogDaySumMapper groupAccountLogDaySumMapper;
	
	
	
	@Resource
	private StatisMemberMonthMapper statisMemberMonthMapper;
	
	@Resource
	private StatisShopMonthMapper statisShopMonthMapper;
	
	@Resource
	private StatisAgentMonthMapper statisAgentMonthMapper;
	
	@Resource
	private GroupAccountLogMonthSumMapper groupAccountLogMonthSumMapper;
	
	

	@Override
	public StatisMemberDay queryMemberAmount(WalletDataReportInDTO walletDataReportInDTO) throws Exception {
		return statisMemberDayMapper.queryMemberAmount(walletDataReportInDTO);
	}

//	@Override
//	public List<WalletDataReportOutDTO> queryMemberAmount(WalletDataReportInDTO walletDataReportInDTO) {
//		
//		return statisMemberDayMapper.queryMemberAmount(walletDataReportInDTO);
//	}
	
	@Override
	public StatisShopDay qyeryShopDayAmount(WalletDataReportInDTO walletDataReportInDTO) {
		return statisShopDayMapper.qyeryShopDayAmount(walletDataReportInDTO);
	}

	@Override
	public StatisAgentDay qyeryAgentDayAmount(WalletDataReportInDTO walletDataReportInDTO) {
		return statisAgentDayMapper.qyeryAgentDayAmount(walletDataReportInDTO);
	}

	
	
	
	
	@Override
	public StatisMemberMonth queryMemberMonthAmount(WalletDataReportInDTO walletDataReportInDTO) {
		return statisMemberMonthMapper.queryMemberMonthAmount(walletDataReportInDTO);
	}

	@Override
	public StatisShopMonth qyeryShopMonthAmount(WalletDataReportInDTO walletDataReportInDTO) {
		return statisShopMonthMapper.qyeryShopMonthAmount(walletDataReportInDTO);
	}

	@Override
	public StatisAgentMonth qyeryAgentMonthAmount(WalletDataReportInDTO walletDataReportInDTO) {
		return statisAgentMonthMapper.qyeryAgentMonthAmount(walletDataReportInDTO);
	}

	@Override
	public GroupAccountLogDaySum queryGroupAccountDay(WalletDataReportInDTO walletDataReportInDTO) {
		return groupAccountLogDaySumMapper.queryGroupAccountDay(walletDataReportInDTO);
	}

	@Override
	public GroupAccountLogMonthSum queryGroupAccountMonth(WalletDataReportInDTO walletDataReportInDTO) {
		return groupAccountLogMonthSumMapper.queryGroupAccountMonth(walletDataReportInDTO);
	}
	

}
